home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Environments / Clean 1.2.4 / MacInterface / desk.icl < prev    next >
Encoding:
Modula Implementation  |  1996-02-22  |  502 b   |  20 lines  |  [TEXT/3PRM]

  1. implementation module desk;
  2.  
  3. import mac_types;
  4.  
  5. SystemTask :: !Toolbox -> Toolbox;
  6. SystemTask t = code (t=U)(z=Z){
  7.     instruction 0xA9B4
  8. };
  9.  
  10. OpenDeskAcc :: !{#Char} !Toolbox -> Toolbox;
  11. OpenDeskAcc theAcc t = code (theAcc=R2S,t=U)(z=I2z){
  12.     instruction 0xA9B6
  13. };
  14.  
  15. SystemClick :: !(!Int,!Int,!Int,!Int,!Int,!Int) !WindowPtr !Toolbox -> Toolbox;
  16. SystemClick (what,message,when,h,v,modifiers) theWindow t
  17. = code (modifiers=W,h=W,v=W,when=L,message=L,what=W,theWindow=O0L,t=U)(z=I16Z){
  18.     instruction 0xA9B3
  19. };
  20.